package com.qingke.easyjava.jdbc.command.impl;

import java.util.HashMap;
import java.util.Map;

import com.qingke.easyjava.jdbc.command.Command;
import com.qingke.easyjava.jdbcapp.pojo.Player;

public class PlayerCommandFactory extends SystemCommandFactory{
	private static Map<CommandCode,Class<?extends Command>>commandMap = new HashMap<>();
	static{
		commandMap.put(CommandCode.LIST,ListCommand.class);
		commandMap.put(CommandCode.SCORE,ScoreCommand.class);
		commandMap.put(CommandCode.Ask,AskCommand.class);
		commandMap.put(CommandCode.Answer,AnswerCommand.class);
		commandMap.put(CommandCode.Accept,AcceptCommand.class);
	}
	
	private Player player;
	
	public PlayerCommandFactory(Player player){
		this.player = player;
	}
	public Command buildCommand(CommandCode cmdCode){
		Command command = null;
	}
}
